﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class OOP2
    {
        private string shuming;
        private string zuozhe;
        private double jiage;

        public string ShuMing
        {
            get { return this.shuming; }
            set { this.shuming = value; }
        }
        public string ZuoZe
        {
            get { return this.zuozhe; }
            set { this.zuozhe = value; }
        }
        public double JiaGe
        {
            get { return this.jiage; }
            set { this.jiage = value; }
        }
    }
}

